package cn.com.inossem.model;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;

public class EducationInfoBean implements Parcelable, Serializable {
	
	private String id;
	/**
	 * 用户id
	 */
	private int userID;
	/**
	 * 学校id
	 */
	private int schoolID;
	/**
	 * 学校名字
	 */
	private String schoolName;
	/**
	 * 学历ID
	 */
	private int educationID;

	/**
	 * 专业
	 */
	private String professional;

	private String startTime = "";
	private String endTime = "";

	public int isselected = 0;

	public EducationInfoBean() {

	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public int getSchoolID() {
		return schoolID;
	}

	public void setSchoolID(int schoolID) {
		this.schoolID = schoolID;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public int getEducationID() {
		return educationID;
	}

	public void setEducationID(int educationID) {
		this.educationID = educationID;
	}

	public String getProfessional() {
		return professional;
	}

	public void setProfessional(String professional) {
		this.professional = professional;
	}

	public int getIsselected() {
		return isselected;
	}

	public void setIsselected(int isselected) {
		this.isselected = isselected;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	private EducationInfoBean(Parcel in) {
		id = in.readString();
		startTime = in.readString();
		endTime = in.readString();
		userID = in.readInt();
		schoolID = in.readInt();
		schoolName = in.readString();
		educationID = in.readInt();
		professional = in.readString();
	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(id);
		dest.writeString(startTime);
		dest.writeString(endTime);
		dest.writeInt(userID);
		dest.writeInt(schoolID);
		dest.writeString(schoolName);
		dest.writeInt(educationID);
		dest.writeString(professional);
	}

	public static final Parcelable.Creator<EducationInfoBean> CREATOR = new Parcelable.Creator<EducationInfoBean>() {
		public EducationInfoBean createFromParcel(Parcel in) {
			return new EducationInfoBean(in);
		}

		public EducationInfoBean[] newArray(int size) {
			return new EducationInfoBean[size];
		}
	};

}
